home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 3 / Amiga Format CD03 (1996-07-04)(Future Publishing)(GB)(Track 1 of 6)[!][issue 1996-08].iso / pd / utilities / tinymeter / install < prev    next >
Text File  |  1996-05-20  |  12KB  |  368 lines

  1. ; Installer Script for TinyMeter V4.30+
  2.  
  3. (set TM_muimin             13)
  4. (set TM_muiassign          "MUI:")
  5.  
  6. ;*******************************************************************************************
  7. ; ENGLISH
  8. ;
  9. (set TM_def_lang          0)
  10. (set TM_where_main        "Where should I copy the TinyMeter main program ?")
  11. (set TM_where_main_help   "SYS:WBStartup is the best place. Simply click proceed.")
  12. (set TM_where_prefs       "Where should I copy the TinyMeter preferences program?")
  13. (set TM_where_prefs_help  "SYS:Prefs is the best place, since TinyMeter can only call it, when its there.")
  14. (set TM_which_lang        "Which languages should be installed?")
  15. (set TM_which_icons       "Which icons do you use")
  16. (set TM_which_install     "What should be installed?")
  17. (set TM_choic_1           "Example settings")
  18. (set TM_choic_2           "Fonts for Clocks")
  19. (set TM_choic_3           "Background patterns")
  20. (set TM_choic_4           "Pictograms for launchermenus")
  21. (set TM_choic_5           "Documentation")
  22. (set TM_where_picto       "Where should the pictograms be installed?")
  23. (set TM_where_picto_help  "Prefs:Pictograms is the best place. Simply click proceed.")
  24. (set TM_where_docs        "Where should the documentation be installed?")
  25. (set TM_where_docs_help   "HELP: is the best place. The HELP key is only available within the preferences program when you put it here. Simply click proceed.")
  26. (set TM_where_fonts       "Where should the fonts be installed?")
  27. (set TM_where_fonts_help  "FONTS: is the best place. The AmigaOS normally can only use fonts which are installed here. Simply click proceed.")
  28. (set TM_where_back        "Where should the background patterns be installed?\n (example settings-file uses SYS:Prefs/Patterns!)")
  29. (set TM_insta_files       "Installing the files...")
  30. (set TM_insta_main        "Installing TinyMeter...")
  31. (set TM_insta_catalog     "Installing catalog...")
  32. (set TM_insta_newicons    "Installing NewIcons®...")
  33. (set TM_insta_examples    "Installing example settings...")
  34. (set TM_insta_fonts       "Installing fonts...")
  35. (set TM_insta_backs       "Installing patterns...")
  36. (set TM_insta_pictos      "Installing pictograms...")
  37. (set TM_insta_docs        "Installing documentation...")
  38. (set TM_insta_def         "Installing...")
  39. (set TM_messa_exit        "Have phun with this nice piece of soft!!!\n\nNow you should start TinyMeter, setup the position and size and press S to save these settings.\n\nAfter that, start the TinyMeter preferences to setup TinyMeter to your personal taste.\n\nIf there are any problems, don't hesitate to contact the author!")
  40. (set TM_nomui              "\n\nCould not find the MUI: assign.\n\nMake sure, that MUI3.2+ is installed correctly.")
  41. (set TM_oldmui             "\n\nTinyMeter V4.30 needs at least MUI 3.2!\n\nPlease update your MUI system. You can find the actual versions on the Aminet.")
  42.  
  43. ;*******************************************************************************************
  44. ; DEUTSCH
  45. ;
  46. (if (= @language "deutsch")
  47.     (
  48.     (set TM_def_lang          1)
  49.     (set TM_where_main        "Wohin soll das Hauptprogramm kopiert werden?")
  50.     (set TM_where_main_help   "SYS:WBStartup ist der Beste Platz.")
  51.     (set TM_where_prefs       "Wohin soll das Einstellungsprogramm kopiert werden?")
  52.     (set TM_where_prefs_help  "SYS:Prefs ist der Beste Platz.")
  53.     (set TM_which_lang        "Welche Sprachen sollen installiert werden?")
  54.     (set TM_which_icons       "Welche Icons sollen benutzt werden?")
  55.     (set TM_which_install     "Was soll installiert werden?")
  56.     (set TM_choic_1           "Beispieleinstellungen")
  57.     (set TM_choic_2           "Zeichensätze für die Uhr")
  58.     (set TM_choic_3           "Hintergrundbilder")
  59.     (set TM_choic_4           "Piktogramme für die Schnellstarter")
  60.     (set TM_choic_5           "Dokumentation")
  61.     (set TM_where_picto       "Wohin sollen die Piktogramme opiert werden?")
  62.     (set TM_where_picto_help  "Prefs:Pictograms ist der Beste Platz.")
  63.     (set TM_where_docs        "Wohin soll die Doumentation kopiert werden?")
  64.     (set TM_where_docs_help   "HELP: ist der Beste Platz.")
  65.     (set TM_where_fonts       "Wohin sollen die Zeichensätze opiert werden?")
  66.     (set TM_where_fonts_help  "FONTS: ist der Beste Platz..")
  67.     (set TM_where_back        "Wohin sollen die Hintergrundbilder opiert werden?\n (Die Beispiel einstellungen benötigen diese Bilder!)")
  68.     (set TM_insta_files       "Installiere Dateien...")
  69.     (set TM_insta_main        "Installiere TinyMeter...")
  70.     (set TM_insta_catalog     "Installiere Sprachenkataloge...")
  71.     (set TM_insta_newicons    "Installiere NewIcons®...")
  72.     (set TM_insta_examples    "Installiere Beispieleinstellungen...")
  73.     (set TM_insta_fonts       "Installiere Zeichensätze...")
  74.     (set TM_insta_backs       "Installiere Hintergrundbilder...")
  75.     (set TM_insta_pictos      "Installiere Piktogramme...")
  76.     (set TM_insta_docs        "Installiere Doumentation...")
  77.     (set TM_insta_def         "Installiere...")
  78.     (set TM_messa_exit        "Nun viel Spaß mit diesem Programm!!!\n\nNun sollte man TinyMeter starten, die Position und Größe einstellen, S druecken und mit dem Einstellungsprogramm weitere Einstellungen vornehmen.\nBei Problemen ist der Author immer über EMail oder auf IRC erreichbar.")
  79.     (set TM_nomui              "\n\nKonnte den MUI: Assign nicht finden.\n\nStellen Sie sicher, daß MUI 3.2+ korrekt installiert wurde.")
  80.     (set TM_oldmui             "\n\nTinyMeter 4.30 benötigt mindestens MUI 3.2!\n\nBitte aktualisieren Sie ihr MUI-System. Die aktuellen Versionen finden Sie auf dem Aminet.")
  81.     )
  82. )
  83.  
  84. ;*******************************************************************************************
  85. ; FRANÇAIS
  86. ;
  87. (if (= @language "français")
  88.     (
  89.     (set TM_def_lang          2)
  90.     (set TM_where_main        "Où voulez vous installer TinyMeter?")
  91.     (set TM_where_main_help   "SYS:WBStartup est la meilleur destination.")
  92.     (set TM_where_prefs       "Où voulez vous installer le programme de réglage?")
  93.     (set TM_where_prefs_help  "SYS:Prefs es la meilleur destination.")
  94.     (set TM_which_lang        "Quelle langues voulez vous installer?")
  95.     (set TM_which_icons       "Quelle type d´icônes vous utiliséz?")
  96.     (set TM_which_install     "Qu´est-ce qu´il faut installer?")
  97.     (set TM_choic_1           "Examples")
  98.     (set TM_choic_2           "Polices pour l´horloge")
  99.     (set TM_choic_3           "Images de fond")
  100.     (set TM_choic_4           "Pictogrammes pour les lanceurs")
  101.     (set TM_choic_5           "Documentation")
  102.     (set TM_where_picto       "Où voulez vous installer les pictogrammes?")
  103.     (set TM_where_picto_help  "Prefs:Pictograms est la meilleur destination.")
  104.     (set TM_where_docs        "Où voulez vous installer la documentation?")
  105.     (set TM_where_docs_help   "HELP: est la meilleur destination.")
  106.     (set TM_where_fonts       "Où voulez vous installer les polices?")
  107.     (set TM_where_fonts_help  "FONTS: est la meilleur destination.")
  108.     (set TM_where_back        "Où voulez vous installer les images de fond?")
  109.     (set TM_insta_files       "Installation en cours...")
  110.     (set TM_insta_main        "Installation en cours...")
  111.     (set TM_insta_catalog     "Installation en cours...")
  112.     (set TM_insta_newicons    "Installation en cours...")
  113.     (set TM_insta_examples    "Installation en cours...")
  114.     (set TM_insta_fonts       "Installation en cours...")
  115.     (set TM_insta_backs       "Installation en cours...")
  116.     (set TM_insta_pictos      "Installation en cours...")
  117.     (set TM_insta_docs        "Installation en cours...")
  118.     (set TM_insta_def         "Installation en cours...")
  119.     (set TM_messa_exit        "S´il y a des problèmes, n´hésitez pas de contacter l´auteur!")
  120.     )
  121. )
  122.  
  123. (if (exists TM_muiassign (noreq))
  124.     (
  125.     (set TM_muiverrev (getversion "MUI:Libs/muimaster.library"))
  126.     (set TM_muiver    (/ TM_muiverrev 65536))
  127.     (if (>= TM_muiver TM_muimin)
  128.         (
  129.         (set TM_default-dest (""))
  130.  
  131.         (set TM_source-file "TinyMeter")
  132.  
  133.         (set TM_destdir
  134.             (askdir
  135.                 (prompt TM_where_main)
  136.                 (help TM_where_main_help)
  137.                 (default "SYS:WBStartup/")
  138.             )
  139.         )
  140.         (set TM_prefsdir
  141.             (askdir
  142.                 (prompt TM_where_prefs)
  143.                 (help TM_where_prefs_help)
  144.                 (default "SYS:Prefs/")
  145.             )
  146.         )
  147.         (set langchoice
  148.             (askoptions
  149.                 (prompt TM_which_lang)
  150.                 (help @akoptions_help)
  151.                 (choices "Deutsch" "Français" "Italiano" "Polski")
  152.                 (default TM_def_lang)
  153.             )
  154.         )
  155.  
  156.         (set iconchoice
  157.             (askchoice
  158.                 (prompt TM_which_icons)
  159.                 (help @askchoice_help)
  160.                 (choices "MagicWB®" "NewIcons®")
  161.                 (default 0)
  162.             )
  163.         )
  164.  
  165.         (set instchoice
  166.             (askoptions
  167.                 (prompt TM_which_install)
  168.                 (help @ackoptions_help)
  169.                 (choices TM_choic_1 TM_choic_2 TM_choic_3 TM_choic_4 TM_choic_5)
  170.                 (default 8)
  171.             )
  172.         )
  173.  
  174.         (if (<> 0 (BITAND instchoice 8))
  175.             (set TM_picdir
  176.             (askfile
  177.                 (prompt TM_where_picto)
  178.                 (help TM_where_picto_help)
  179.                 (default "SYS:Prefs/Pictograms")
  180.             )
  181.             )
  182.         )
  183.  
  184.         (if (<> 0 (BITAND instchoice 16))
  185.             (set TM_helpdir
  186.                 (askdir
  187.                     (prompt TM_where_docs)
  188.                     (help TM_where_docs_help)
  189.                     (default "HELP:")
  190.                 )
  191.             )
  192.         )
  193.  
  194.         (if (<> 0 (BITAND instchoice 2))
  195.             (set TM_fontdir
  196.                 (askdir
  197.                     (prompt TM_where_fonts)
  198.                     (help TM_where_fonts_help)
  199.                     (default "FONTS:")
  200.                 )
  201.             )
  202.         )
  203.  
  204.         (if (<> 0 (BITAND instchoice 4))
  205.             (set TM_pattdir
  206.                 (askdir
  207.                     (prompt TM_where_back)
  208.                     (help @askdir_help)
  209.                     (default "SYS:Prefs/")
  210.                 )
  211.             )
  212.         )
  213.  
  214.         (copyfiles
  215.             (prompt TM_insta_files)
  216.             (help @copyfiles_help)
  217.             (source TM_source-file)
  218.             (infos)
  219.             (newname "TinyMeter")
  220.             (dest TM_destdir)
  221.         )
  222.  
  223.         (copyfiles
  224.             (prompt TM_insta_main)
  225.             (help @copyfiles_help)
  226.             (source "Prefs/TinyMeter")
  227.             (infos)
  228.             (newname "TinyMeter")
  229.             (dest TM_prefsdir)
  230.         )
  231.  
  232.         (if (<> 0 (BITAND langchoice 1))
  233.             (copyfiles
  234.                 (prompt TM_insta_catalog)
  235.                 (help @copyfiles_help)
  236.                 (source "Catalogs/deutsch/TinyMeterPrefs.catalog")
  237.                 (dest "LOCALE:Catalogs/deutsch/")
  238.             )
  239.         )
  240.         (if (<> 0 (BITAND langchoice 2))
  241.             (copyfiles
  242.                 (prompt TM_insta_catalog)
  243.                 (help @copyfiles_help)
  244.                 (source "Catalogs/français/TinyMeterPrefs.catalog")
  245.                 (dest "LOCALE:Catalogs/français/")
  246.             )
  247.         )
  248.         (if (<> 0 (BITAND langchoice 4))
  249.             (copyfiles
  250.                 (prompt TM_insta_catalog)
  251.                 (help @copyfiles_help)
  252.                 (source "Catalogs/italiano/TinyMeterPrefs.catalog")
  253.                 (dest "LOCALE:Catalogs/italiano/")
  254.             )
  255.         )
  256.         (if (<> 0 (BITAND langchoice 8))
  257.             (copyfiles
  258.                 (prompt TM_insta_catalog)
  259.                 (help @copyfiles_help)
  260.                 (source "Catalogs/polski/TinyMeterPrefs.catalog")
  261.                 (dest "LOCALE:Catalogs/polski/")
  262.             )
  263.         )
  264.         (if (<> 0 (BITAND iconchoice 1))
  265.             (copyfiles
  266.                 (prompt TM_insta_newicons)
  267.                 (help @copyfiles_help)
  268.                 (source "ArtWork/newicons/TinyMeter.info")
  269.                 (dest TM_destdir)
  270.             )
  271.         )
  272.         (if (<> 0 (BITAND iconchoice 1))
  273.             (copyfiles
  274.                 (prompt TM_insta_newicons)
  275.                 (help @copyfiles_help)
  276.                 (source "ArtWork/newicons/TinyMeterPrefs.info")
  277.                 (newname "TinyMeter.info")
  278.                 (dest TM_prefsdir)
  279.             )
  280.         )
  281.  
  282.         (if (<> 0 (BITAND instchoice 1))
  283.             (copyfiles
  284.                 (prompt TM_insta_examples)
  285.                 (help @copyfiles_help)
  286.                 (source "Examples/MagicWB.tm")
  287.                 (newname "TinyMeter")
  288.                 (dest "ENV:")
  289.             )
  290.         )
  291.  
  292.         (if (<> 0 (BITAND instchoice 1))
  293.             (copyfiles
  294.                 (prompt TM_insta_examples)
  295.                 (help @copyfiles_help)
  296.                 (source "Examples/MagicWB.tm")
  297.                 (newname "TinyMeter")
  298.                 (dest "ENVARC:")
  299.             )
  300.         )
  301.  
  302.         (if (<> 0 (BITAND instchoice 2))
  303.             (copyfiles
  304.                 (prompt TM_insta_fonts)
  305.                 (help @copyfiles_help)
  306.                 (source "ArtWork/Fonts/")
  307.                 (all)
  308.                 (dest TM_fontdir)
  309.             )
  310.         )
  311.  
  312.         (if (<> 0 (BITAND instchoice 4))
  313.             (copyfiles
  314.                 (prompt TM_insta_backs)
  315.                 (help @copyfiles_help)
  316.                 (source "ArtWork/Patterns/")
  317.                 (all)
  318.                 (dest TM_pattdir)
  319.             )
  320.         )
  321.  
  322.         (if (<> 0 (BITAND instchoice 16))
  323.             (copyfiles
  324.                 (prompt TM_insta_docs)
  325.                 (help @copyfiles_help)
  326.                 (source "TinyMeter.guide")
  327.                 (infos)
  328.                 (dest TM_helpdir)
  329.             )
  330.         )
  331.  
  332.         (if (<> 0 (BITAND instchoice 8))
  333.             (copyfiles
  334.                 (prompt TM_insta_pictos)
  335.                 (help @copyfiles_help)
  336.                 (source "ArtWork/Pictogram/")
  337.                 (all)
  338.                 (dest TM_picdir)
  339.             )
  340.         )
  341.  
  342.         (copylib
  343.             (prompt TM_insta_def)
  344.             (help @copylib_help)
  345.             (source "Libs/screennotify.library")
  346.             (dest "LIBS:")
  347.             (confirm)
  348.         )
  349.  
  350.         (copylib
  351.             (prompt TM_insta_def)
  352.             (help @copylib_help)
  353.             (source "Libs/wbstart.library")
  354.             (dest "LIBS:")
  355.             (confirm)
  356.         )
  357.  
  358.         (exit
  359.             TM_messa_exit
  360.         )
  361.         )
  362.         (exit TM_oldmui (quiet))
  363.     )
  364.     )
  365.     (exit TM_nomui (quiet))
  366. )
  367. (exit)
  368.